﻿using System;
using System.Collections.Generic;

namespace Model
{
     ///<summary>
     ///实体类NET_JK_RESULT
     ///</summary>
     public class NET_JK_RESULT
     {
         private int __ID=0 ;
         private string __JCLSH=string.Empty ;
         private string __HPHM=string.Empty ;
         private string __JKID=string.Empty ;
         private string __IsSuc=string.Empty ;
         private DateTime? __LastUpdateTime=null ;

         private Dictionary<string, bool> __Changed = new Dictionary<string, bool>();


         public NET_JK_RESULT()
         {
             this.__Changed.Add("ID",false);
             this.__Changed.Add("JCLSH",false);
             this.__Changed.Add("HPHM",false);
             this.__Changed.Add("JKID",false);
             this.__Changed.Add("IsSuc",false);
             this.__Changed.Add("LastUpdateTime",false);
         }

         /// <summary>
         /// 将类重置到初始化状态
         /// </summary>
         public void Reset()
         {
             this.__ID =0;
             this.__JCLSH =string.Empty;
             this.__HPHM =string.Empty;
             this.__JKID =string.Empty;
             this.__IsSuc =string.Empty;
             this.__LastUpdateTime =null;
             this.__Changed["ID"] = false;
             this.__Changed["JCLSH"] = false;
             this.__Changed["HPHM"] = false;
             this.__Changed["JKID"] = false;
             this.__Changed["IsSuc"] = false;
             this.__Changed["LastUpdateTime"] = false;
         }

         /// <summary>
         /// 获取类中成员的改变状态
         /// </summary>
         public bool Changed(string strKey)
         {
             return __Changed[strKey];
         }

         /// <summary>
         ///设置或获取类中的[ID]的数据
         /// </summary>
         public int ID
         {
              set{ __ID = value; __Changed["ID"] = true;}
              get{return __ID;}
         }
         /// <summary>
         ///设置或获取类中的[JCLSH]的数据
         /// </summary>
         public string JCLSH
         {
              set{ __JCLSH = value.Replace("'","’"); __Changed["JCLSH"] = true;}
              get{return __JCLSH;}
         }
         /// <summary>
         ///设置或获取类中的[HPHM]的数据
         /// </summary>
         public string HPHM
         {
              set{ __HPHM = value.Replace("'","’"); __Changed["HPHM"] = true;}
              get{return __HPHM;}
         }
         /// <summary>
         ///设置或获取类中的[JKID]的数据
         /// </summary>
         public string JKID
         {
              set{ __JKID = value.Replace("'","’"); __Changed["JKID"] = true;}
              get{return __JKID;}
         }
         /// <summary>
         ///设置或获取类中的[IsSuc]的数据
         /// </summary>
         public string IsSuc
         {
              set{ __IsSuc = value.Replace("'","’"); __Changed["IsSuc"] = true;}
              get{return __IsSuc;}
         }
         /// <summary>
         ///设置或获取类中的[LastUpdateTime]的数据
         /// </summary>
         public DateTime? LastUpdateTime
         {
              set{ __LastUpdateTime = value; __Changed["LastUpdateTime"] = true;}
              get{return __LastUpdateTime;}
         }
    }
}
